//
//  GLView.h
//  SypX
//
//  Created by Luv Khemani on 5/7/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//


#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#include "Event.h"
#include <deque>


@interface GLView : UIView {

	EAGLContext* context;
	std::deque<SypX::Event> eventQue;
	CADisplayLink* displayLink;	
	
}

-(std::deque<SypX::Event>*) getEventList;
-(void) swapBuffers;
@property (readonly,nonatomic) EAGLContext* context;
@property (readonly,nonatomic) CADisplayLink* displayLink;



@end
